import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

const store=new Vuex.Store({
    state:{
        count:[
            {id:1,name:"aaa"},
            {id:2,name:"bbb"},
            {id:3,name:"ccc"}
        ],
        desMessage:[
         
        ]
    },
    mutations:{
        doThings(state){
            state.count++
        }
    },
    actions:{

    }
})
export default store